package com.glink.manage.domain;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
* @author lumm
* @since 2025/1/9
*/
@Data
@ApiModel(value="PatrolIntelligentEquipChannel", description="智能设备通道信息")
@TableName("patrol_intelligent_equip_channel")
public class PatrolIntelligentEquipChannel extends Model<PatrolIntelligentEquipChannel> {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "obj_id")
    @TableId(value = "obj_id", type = IdType.INPUT)
    private String objId;

    @ApiModelProperty(value = "所属工程")
    private String constructionWorkId;

    @ApiModelProperty(value = "所属施工现场")
    private String constructionWorkSiteId;

    @ApiModelProperty(value = "所属智能设备")
    private String equipId;

    @ApiModelProperty(value = "所属硬盘录像机")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String belongEquipId;

    @ApiModelProperty(value = "关联硬盘录像机时间")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private Integer relateOrder;

//    @ApiModelProperty(value = "序号")
//    @TableField(updateStrategy = FieldStrategy.IGNORED)
//    private String serialNumber;

    @ApiModelProperty(value = "nvr通道号")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String channelNumber;

    @ApiModelProperty(value = "设备通道号")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String equipChannelNumber;

    @ApiModelProperty(value = "视频通道编码ID")
    private String channelCode;

    @ApiModelProperty(value = "视频通道编码ID(NVR)")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String channelCodeNvr;

    @ApiModelProperty(value = "视频流类型(1可见光;2红外)")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String urlType;

    @ApiModelProperty(value = "主码流")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String mainUrl;

    @ApiModelProperty(value = "子码流")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String subUrl;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "创建人姓名")
    @TableField(fill = FieldFill.INSERT)
    private String createUserName;

    @ApiModelProperty(value = "创建人ID")
    @TableField(fill = FieldFill.INSERT)
    private String createUserId;

    @ApiModelProperty(value = "更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    @ApiModelProperty(value = "更新人姓名")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String updateUserName;

    @ApiModelProperty(value = "更新人ID")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String updateUserId;
}
